package org.bbs.demo.topic.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface SexyDao {



    //点击，热度+1
    @Update("update bbstopic set sexy = sexy + 1 where topic_id = #{topic_id}")
    public int cliksSexy(String topic_id);
}
